package com.cskaoyan.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author stone
 * @date 2022/10/07 17:12
 */
@RestController
public class HelloController {

    @RequestMapping("hello")
    public String hello() {
        return "hello xml";
    }

    public HelloController() {
        System.out.println("HelloController实例化");
    }
}
